package com.ruoyi.partybuilding.domain.vo;

import com.easy.query.core.annotation.EasyWhereCondition;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.partybuilding.domain.WorkScore;
import lombok.Data;

import java.util.Date;

import static com.easy.query.core.annotation.EasyWhereCondition.Condition.*;

@Data
public class WorkScoreQueryVo extends WorkScore {

    @EasyWhereCondition(type = RANGE_LEFT_CLOSED,propName = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;

    @EasyWhereCondition(type = RANGE_RIGHT_CLOSED,propName = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime2;

}
